import React from 'react';
import ReactDOM from 'react-dom';
import registerServiceWorker from './registerServiceWorker';
import { HashRouter } from 'react-router-dom';
import 'antd-mobile/dist/antd-mobile.css';
import './assets/css/reset.css';
import RouterMap from './router/routerMap';

ReactDOM.render(
  <div>
    {/* 例如： <BrowserRouter basename="/calendar"></BrowserRouter>  <Link to="/today"/> // 渲染为 <a href="/calendar/today">  */}
    <HashRouter>
      <RouterMap />
    </HashRouter>
  </div>,
  document.getElementById('root'));
registerServiceWorker();
